package com.surveillance.DAO;

public interface GenericDao<T> {
	/**
	 * Method that returns the number of entries from a table that meet some
	 * criteria (where clause params)
	 * 
	 * @param params
	 *            sql parameters
	 * @return the number of records meeting the criteria
	 */

	void  save(T t);

	void delete(T t);

	T findByID(Long id);

	void update(T t);
}
